function addAdmin() {
  $.ajax({
    url: 'http://47.102.45.219:8080/Appoint/adminZoneServlet/addAdmin',
    data: $('#addFrom').serialize(),
    dataType: 'json',
    async: false,
    success: function (data) {
      xadmin.close();
      xadmin.father_reload();
      if (data.statu) {
        layer.msg('添加成功', {
          icon: 1,
          time: 1000
        });

      } else {
        layer.msg('添加失败', {
          icon: 0,
          time: 1000
        });
      }
    },
    error: function (XMLHttpRequest, textStatus, errorThrown) {

    }
  })
}